{% extends "tj3/tj3.html" %}


{% block content  %} 
<form action="." method="post" enctype="multipart/form-data">

<h2>Journals</h2>
<table>
<thead>
<th>CREATED<th>ALERT<th>SUMMARY<th>DESCRIPTION
</thead>
<tbody>
	<!--- existing journals --->
	{% for j in journals %}
<tr>
	<td> {{j.created}}
	<td> {{j.alert}}
	<td><a href={% url journal_edit j.id %}>{{j.summary}}</a>
	<td> {{j.description}}
</tr>
	{% endfor %}
</tbody>
</table>


	<!--- new period --->
<table>
	{{ journal_formset.management_form}}
	{{ journal_formset}}
</table>

<input type="submit" name="command" value="Create" class="button" />
</form>


{% endblock content %}
